Search results
165 packages found
A collection of functions for manipulating CSS colors, inspired by SASS.
Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space
The best regular expression (regex) for matching hex color values from string.
Validate HTML colors by 'name', 'special name', 'hex', 'rgb', 'rgba', 'hsl', 'hsla', 'hwb', 'lab' or 'lch' values
- validation
- color
- colors
- colour
- colours
- validate color
- validate colour
- color validation
- colour validation
- HTML color validation
- HTML colour validation
- validate HTML color
- validate HTML colour
- hex
- View more
A array with color name -> Hex rgb.
Another JavaScript/TypeScript Color Utility Library
Bidirectional conversions between different colors format like RGB, HSL, HSV and HEX
Converts hex colors to rgb
Convert colors between RGB, HEX, HSL, HWB, LAB, LCH, and more
ac-colors is a reactive JavaScript color library that can freely convert between RGB, HSL, HEX, XYZ, LAB, LCHab, LUV, and LCHuv, as well as handle random color generation and contrast ratio calculation.
Great looking color maps
- colormap
- color map
- color
- hex
- rgb
- color-space
- cubehelix
- inferno
- magma
- plasma
- viridis
- matplotlib
- oceanography
- seismic
- View more
Simple utility that generates random hexadecimal colors.
Check that given value is valid hex color, using `hex-color-regex` - the best regex for matching hex color values
Colorize terminal text for Node
A simple color library
Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
- accessibility
- background
- black
- bright
- brighten
- brightness
- chroma
- color
- colors
- contrast
- convert
- css
- dark
- darken
- View more
Orange.Colors - library for working with colors
A function to extract any colors from a string